package com.n9.product.dao;

import com.n9.base.dao.BaseRepository;
import com.n9.product.entity.Provider;
import org.springframework.stereotype.Repository;

/**
 * @author ice
 * @since 2019/5/23 17:25
 */
@Repository
public interface ProviderDao extends BaseRepository<Provider, String> {
    /**
     * 根据名称查询
     * @param name
     * @return
     */
    Provider findOneByName(String name);
}
